package com.eorchis.module.preauthorizationregistration.service;

import java.util.List;

import com.eorchis.core.service.IBaseService;
import com.eorchis.module.exceluitls.domain.excel.ExcelSheet;
import com.eorchis.module.preauthorizationregistration.domain.PreAuhorzaionQueryBean;
import com.eorchis.module.preauthorizationregistration.domain.PreSqSyUserBean;
import com.eorchis.module.preauthorizationregistration.ui.commond.PreAuthorizationRegistrationQueryCommond;
import com.eorchis.module.preauthorizationregistration.ui.commond.PreAuthorizationRegistrationValidCommond;

/**
 * Title: IPreAuthorizationRegistrationService<br>
 * Description: 个人报名预授权管理业务接口<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Administrator
 * @createDate 2015-01-06
 * @version $Revision$
 */
public interface IPreAuthorizationRegistrationService extends IBaseService {
	/**
	 * 添加报名预授权
	 * @param String
	 * @return
	 * @throws Exception
	 * @author NingSS
	 * @date 2015-1-6
	 */
	public String addPreAuthorizationRegistration(PreAuthorizationRegistrationValidCommond vCommond) throws Exception;
	/**
	 * Excel导入报名预授权
	 * @param vCommond
	 * @param sheet
	 * @return
	 * @throws Exception
	 * @author NingSS
	 * @date 2015-1-6
	 */
	public String importPreAuthorizationRegistration(PreAuthorizationRegistrationValidCommond vCommond,ExcelSheet sheet) throws Exception;
	/**
	 * 查询某部门所有已预授权的人的信息
	 * @param String
	 * @return
	 * @throws Exception
	 * @author Xupp
	 * @date 2015-1-8
	 */
	public List<PreAuhorzaionQueryBean> findPreAuthorZationRegistrationInfolist(PreAuthorizationRegistrationQueryCommond qCommond)throws Exception;
	/**
	 * 修改某部门某已预授权的人的姓名
	 * @param String
	 * @return
	 * @throws Exception
	 * @author Xupp
	 * @date 2015-1-8
	 */
	public int updatePreAuthorZationRegistrationInfolist(PreAuthorizationRegistrationValidCommond vCommond)throws Exception;
	/**
	 * 撤销某部门某已预授权的人
	 * @param String
	 * @return
	 * @throws Exception
	 * @author Xupp
	 * @date 2015-1-8
	 */
	public int deletePreAuthorZationRegistrationInfolist(PreAuthorizationRegistrationQueryCommond qCommond)throws Exception;
	/**
	 * 预修改某部门某已预授权的人
	 * @param String
	 * @return
	 * @throws Exception
	 * @author Xupp
	 * @date 2015-1-8
	 */
	public PreAuhorzaionQueryBean prePreAuthorZationRegistrationInfo(PreAuthorizationRegistrationValidCommond vCommond)throws Exception;
	PreSqSyUserBean findSignUNumByDepId(
			PreAuthorizationRegistrationQueryCommond vCommond) throws Exception;
	
}
